package com.ctshk.rpc.order.bus.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;


/**
 * <p>
 * 预订中心巴士门票-支付页面-下单 入参
 * </p>
 *
 * @author 彭柳霖
 * @since 2021-02-26
 */
@Data
@ApiModel(value="BusPayOrderCollectionReq请求对象", description="预订中心巴士门票-支付页面-下单")
public class BusPayOrderCollectionReq implements Serializable {
    private static final long serialVersionUID = -3807080674563509908L;

    @ApiModelProperty(value = "收款单号")
    private String collectionNumber;

//    @ApiModelProperty(value = "是否使用pos机")
//    private Integer isPos;

    @NotNull(message = "收款金额不能为空")
    @ApiModelProperty(value = "收款金额")
    private BigDecimal collectionAmount;

    @NotNull(message = "收款币种ID不能为空")
    @ApiModelProperty(value = "收款币种ID")
    private Long currencyId;

    @ApiModelProperty(value = "收款币种")
    private String currency;

//    @ApiModelProperty(value = "是否银联优惠")
//    private Integer isUnionpayDiscount;
//
//    @ApiModelProperty(value = "银联优惠id")
//    private Long unionpayDiscountId;

    @NotNull(message = "收款方式ID不能为空")
    @ApiModelProperty(value = "收款方式ID")
    private Long collectionWayId;

    @NotNull(message = "收款方式不能为空")
    @ApiModelProperty(value = "收款方式")
    private String collectionWay;

    @ApiModelProperty(value = "付款方(账号)")
    private String payer;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "收款凭证JSON")
    private String collectionCertificateJson;

    @ApiModelProperty(value = "销售ID")
    private Long salerId;

    @ApiModelProperty(value = "销售姓名")
    private String salerName;
}
